package net.mingsoft.report_data.sao.entity;

import lombok.Data;
import net.mingsoft.basic.util.GenericSuperclassUtil;

import java.util.List;

/**
 * @author gengfa
 * @date 22/06/08
 */
@Data
public class BasicResponse<T> {
    private String status;
    private String message;
    private List<T> data;

    public Class<?> getEntityClass() {
        return GenericSuperclassUtil.getActualTypeArgument(this.getClass());
    }
}
